.page-404 {
  padding-bottom: 60px;
}

.page-404__button {
  margin-top: 30px;
}

@media all and (max-width: 767px) {
  .page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .page-404 main {
    flex-grow: 1;
    padding: 0;
    margin: 0 50px;
    position: relative;
  }

  .page-404__button {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
  }
}
